import scrapy
from scrapy.loader.processors import TakeFirst, Join, MapCompose
from w3lib.html import remove_tags


class Face(scrapy.Item):
    username = scrapy.Field(input_processor=MapCompose(remove_tags), output_processor=TakeFirst())
    imgurl = scrapy.Field(output_processor=TakeFirst())
    videourl = scrapy.Field(output_processor=TakeFirst())
    buf = scrapy.Field(output_processor=TakeFirst())
